package com.gitee.free.coding.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 异常枚举
 */
@Getter
@AllArgsConstructor
public enum ErrorEnum {

    SUCCESS(0, "成功"),
    ARGS_CHECK_FAIL(100001, "参数校验失败"),
    FAIL(999999, "失败"),
    ;

    private final Integer errorCode;

    private final String errorMsg;
}
